﻿using System.ComponentModel.DataAnnotations;
using System.Data.Objects.DataClasses;
using System.ServiceModel.DomainServices.Server;

namespace GlobalOfficeTools.MVC3.Models
{
    [MetadataTypeAttribute(typeof(CLItblUser.CLItblUserMetadata))]
    public partial class CLItblUser
    {
        internal sealed class CLItblUserMetadata
        {
            private CLItblUserMetadata() { }

            public int UserId { get; set; }
            public int UserOptionsId { get; set; }
            public string FullName { get; set; }
            public bool IsActive { get; set; }

            [Include]
            public CLItblUserOption CLItblUserOption { get; set; }
            [Include]
            public EntityCollection<CLItblCompanyUser> CLItblCompanyUsers { get; set; }
            public EntityCollection<CLItblFederationDetail> CLItblFederationDetails { get; set; }
        }
    }
}